<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>账户余额 - ${web.name}${web.additionalTitle!}</title>
<link href="${root}/u/css/main.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/memeber.css" type="text/css" rel="stylesheet" />
<script src="${sysResRoot}/jquery.js" type="text/javascript"></script>
<script src="${base}/thirdparty/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
});

function checkStatus(status){
	if(status==1){
		$("#status").attr("value",'');
		$("#useStatus").attr("value",'');
	}else{
		$("#status").attr("value",status);
		$("#useStatus").attr("value",'');
	}
    $("#jvForm").submit();
 }

function checkStatus(status){
	 $("#status").attr("value",status);
     $("#jvForm").submit();
}
</script>
</head>
<body>
[#--
[#include '../shop/develop/inc_head.html'/]
--]
[#include "../include/会员中心页头顶栏.html"/]
<div class="w1168">
	[#include "会员中心_导航.html"/]
	<div id="container" class="user_right"> 
    
    <div class="user_title_r">
			<div class="user_title_l">账户余额<!--  <a href=""  target="_blank" style="color: #1A66B3;float:right;">充值</a>--></div>
        </div>
        <div class="clear10"></div>
       
     <div class="dd_list">
        <ul id="detail-item" class="clearfix">
			<li style="font-family:微软雅黑; font-size:14px; color:#4b4b4b;"><a href="#wx">您目前的账户余额：<font color="red" size='+0'><b>${member.money!} </b></font>元</a></li>  
	   </ul>		
     </div><br/>
     <div id="demo2" class="odrTab">
     <form id="jvForm" action="mymoney.jspx" method="post">
        <input type="hidden" id="status" name="status" value="${status!}"/> 
         <ul class="ul_select odrTabUl" style="width:100%; border-bottom:1px solid #ebebeb;">
            <li [#if !(status??)]class="first cur"[/#if]><a href="javascript:vodi(0);" onclick="checkStatus(1);">全部明细 [@money_page memberId=member.id count='10'](${tag_pagination.totalCount})[/@money_page]</a></li>
            <li [#if status??&status==1]class="first cur"[/#if]><a href="javascript:vodi(0);" onclick="checkStatus(2);" >全部收入[@money_page memberId=member.id status='1' count='10'](${tag_pagination.totalCount})[/@money_page]</a></li>
            <li [#if status??&status==0]class="first cur"[/#if]><a href="javascript:vodi(0);" onclick="checkStatus(0);">全部支出[@money_page memberId=member.id status='0' count='10'](${tag_pagination.totalCount})[/@money_page]</a></li>
            
            <div id="queryCodeNum" class="fr">
            查询时间：<input type="text" name="startTime" [#if startTime??]value="${startTime!}"[/#if] class="Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"  style="width:80px; height:20px;"/>至:
            <input type="text" name="endTime" [#if endTime??]value="${endTime!}"[/#if] class="Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"  style="width:80px; height:20px;"/>
            <input id="toQuery" type="submit" value="查询" class="menu_jfcx"/>
            </div>
         </ul>
        <div class="ks-switchable-content">
              <table width="100%" border="0" cellpadding="0" cellspacing="0" id="detailShowtab">
                  <tr>
                    <td height="32" bgcolor="#f0f0f0" style="text-align:left; padding-left:20px;">来源 / 用途</td>
                    <td width="90" bgcolor="#f0f0f0">收入</td>
                    <td width="95" bgcolor="#f0f0f0">支出</td>
                    <td width="130" bgcolor="#f0f0f0">日期</td>
                    <!-- <td width="105">节省</td> -->
                    <td width="270" bgcolor="#f0f0f0">备注</td>
                 </tr>
             <tbody> 
            [@money_page memberId=member.id status=status  startTime=startTime endTime=endTime count='10']
              [#if tag_list?size gt 0]
               [#list tag_list as shopMoney]
                <tr>
                  <!--  
                  <td style="text-align:left;vertical-align: middle; height:60px;">
                 
                  </td>
                  <td></td>
                  <td></td>
                  <td>${shopMoney.scoreTime!}</td>
                  <!--  <td></td> -->
                  <td>${shopMoney.remark!}</td>
                  <td></td>
                  <td></td>
                  <td></td>
                  <td></td>
                </tr>
                <tr>
                	<td height="1" colspan="5" bgcolor="#e7e7e7"></td>
                </tr>
                [/#list]
                <tr align="center"><td colspan="5">[@pagination_style sysPage='3'/]</td></tr>
               [#else]
               <tr align="center"><td height="30" colspan="5"> 暂时没有账户出入明细！</td></tr>
              [/#if]
            [/@money_page]
            </tbody>
          </table>
      </div>
     </form>
   </div>
</div>
	<div class="clear20"></div>
</div>
[#--<p>[#include 'inc_member_function.html'/]</p>
<div>[@process_time/]</div>
--]
[#include "../include/页脚信息栏.html"/]
</body>
</html>